package _2025_4_15;

import java.io.FileOutputStream;
import java.io.IOException;
import java.io.OutputStream;

public class writedemo1 {
    public static void main(String[] args) throws IOException {
        try(OutputStream outputStream=new FileOutputStream("D:/temp/java114/abc.txt")){
            outputStream.write('d');
            outputStream.write('e');
            outputStream.write('f');
            outputStream.flush();
        }
    }
}
